package model

type StudentScoreRule struct {
	Id         int64  `gorm:"primaryKey;column:id"json:"id" `
	SchoolID   int64  `gorm:"column:school_id;not null;default:0" json:"school_id"`
	Year       int    `gorm:"column:year;not null;default:0" json:"year"`
	TypeID     int    `gorm:"column:type_id;not null;default:0" json:"type_id"`
	JsName     string `gorm:"column:js_name;not null;default:''" json:"js_name"`
	JsRule     string `gorm:"column:js_rule;not null;default:''" json:"js_rule"`
	JsRange    string `gorm:"column:js_range;not null;default:''" json:"js_range"`
	RankSort   string `gorm:"column:rank_sort;not null;default:''" json:"rank_sort"`
	JsNum      int    `gorm:"column:js_num;not null;default:0" json:"js_num"`
	CreateTime int64  `gorm:"column:create_time;not null" json:"create_time"`
}

func (StudentScoreRule) TableName() string {
	return "fd_student_score_rule"
}
